<%--
  Created by IntelliJ IDEA.
  User: owner
  Date: 2018-08-08
  Time: 0:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="product_detail">
    <div class="product_nav">
        <div class="product_navTitle redNavTitle"><a href="#no">商品详情</a></div>
        <div class="product_navComment1 noRedNavTitle"><a href="#no">累计评价 <span class="product_detail_navNum">${product.reviewCount}</span></a></div>
    </div>
    <div style="clear: both"></div>
    <div class="product_detail_info">
        <div class="product_detail_infoTitle">产品参数：</div>
        <table>
            <tbody>
                <c:forEach items="${values}" var="val" varStatus="st">
                    <c:if test="${st.index%2==0}">
                        <tr>
                    </c:if>
                    <td>
                        ${val.property.name}:${val.value}
                    </td>
                    <c:if test="${st.index%2!=0}">
                        </tr>
                    </c:if>
                </c:forEach>
            </tbody>
        </table>
    </div>
    <div class="product_detail_img">
        <c:forEach items="${images2}" var="img" varStatus="st">
            <img src="img/productDetail/${img.id}.jpg" alt="" width="790px">
        </c:forEach>
    </div>
</div>
